#include<iostream>
#include<string>
#include<cstring>
using namespace std;
extern int cmder(char*);
int main()
{
	cout<<"+++++++++++++++++++++++++++++++++++++++++"<<endl;
	cout<<"+             MCSOP EDA Tool            +"<<endl;
	cout<<"+ Design by MCSOP Lab., GIEE, NTU, 2011 +"<<endl;
	cout<<"+       http://mcsop.ee.ntu.edu.tw      +"<<endl;
	cout<<"+++++++++++++++++++++++++++++++++++++++++"<<endl<<endl;
	int status=1;//system status
	char *command=new char[1000];
	while(status==1)
	{
		cout<<"meda # ";
		//scanf("%[^\n]",command);
		cin>>command;
		status=cmder(command);
	}
	delete command;
	return 0;
}
